package com.sdktester.base;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@Slf4j
@RestController
@RequestMapping("/test")
public class TestController {

    /**
     * 测试此项目能够正常提供HTTP网络请求能力
     * @return hello world
     */
    @GetMapping("/hello")
    public Result<String> hello() {
        return new Result<>("hello world");
    }
}
